widget: Flip execution order of GTK_PHASE_TARGET/BUBBLE
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 22 May 2014 13:24:28 +0000 (15:24 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 23 May 2014 17:54:33 +0000 (19:54 +0200)
commit01d74f86a05be8697dd3f0474110b1524722a1ec
tree5bb6045dc30a1cd817a11bca1d83dfbdf36dc958
parentca1510177c8784c5eee2fb1d73f43f2b2dfc27fd
widget: Flip execution order of GTK_PHASE_TARGET/BUBBLE

the "bubble" phase used to run before event handlers before GTK_PHASE_TARGET
was added, in order to keep phases in the expected order, move GTK_PHASE_BUBBLE
to be run (still invariably) after event handlers.

The only behavioral change should be wrt widgets wanting mixed event handler/
gesture handling, they could previously attach the gesture to the bubble phase
and check for gtk_gesture_is_active() in the event handler to bail out, they'll
have to use GTK_PHASE_CAPTURE for that purpose from now on.
gtk/gtkwidget.c